package com.shop.dao;

import java.util.List;

import com.shop.domain.Category;

/**
 * 
 * @author wenjuanhenxing
 * @version V1.0 CategoryDao.java 2016-2-10 下午8:31:13
 */
public interface CategoryDao {
	boolean addCategory(Category category);

	boolean deleteCategoryById(Long id);

	boolean deleteCategoryByName(String name);

	Long getIdByCategoryName(String name);

	boolean updateCategoryName(Category category);

	List<Category> getSubCategory(Long id);

	List<Category> getLargeCategory();
}
